<div class="panel panel-default  m-n">
    <div class="panel-heading font-bold">
        选择活动商品
    </div>
    <div class="panel-body">
        <table class="table table-striped b-light m-b-none">
            <thead>
            <tr>
                <th>商品</th>
                <th>库存</th>
                <th width="100px">操作</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="item in goodsList">
                <td>{{item.name}}</td>
                <td>{{item.stock}}</td>

                <td>
                    <div class="checkbox">
                        <label>
                            <input type="checkbox" ng-model="item.isChecked" ng-true-value="1" ng-false-value="0"
                                   ng-click="checkedGoods($event,item)">
                        </label>
                    </div>
                </td>
            </tr>
            </tbody>
        </table>
        <div ng-if="!goodsList.length" class="padder-v text-center">
            <span class="h6">~未搜索到任何数据~</span>
        </div>
    </div>
    <div class="panel-footer text-right">
        <button class="btn m-b-xs w-xs btn-default" ng-click="cancel()">关闭</button>
    </div>
</div>